package cn.sylinx.horm.resource.parse;

import cn.sylinx.horm.resource.lexer.ELSEToken;

/**
 * else 描述
 * 
 * @author johnhan
 *
 */
public class ELSEConditionBlock extends ConditonBlock {

    private ELSEToken elseToken;

    public ELSEConditionBlock(ELSEToken elseToken) {
        this.elseToken = elseToken;
    }

    public ELSEToken getElseToken() {
        return elseToken;
    }

    public void setElseToken(ELSEToken elseToken) {
        this.elseToken = elseToken;
    }

    @Override
    public String toString() {
        return "ELSEConditionBlock [elseToken=" + elseToken + ", getNodes()=" + getNodes() + "]";
    }

}
